projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf5a94
)
ostree/trivial-httpd: Add log message for autoexit
author
Dan Nicholson
<nicholson@endlessm.com>
Fri, 18 Oct 2019 16:50:39 +0000
(10:50 -0600)
committer
Dan Nicholson
<nicholson@endlessm.com>
Fri, 24 Jan 2020 20:11:54 +0000
(13:11 -0700)
This is useful when checking if the daemon actually exited since we
don't store the child PID anywhere.
src/ostree/ostree-trivial-httpd.c
patch
|
blob
|
history
diff --git
a/src/ostree/ostree-trivial-httpd.c
b/src/ostree/ostree-trivial-httpd.c
index e5dfc320f859f613b9f6015fdc625fde6c263d13..a38abbea6110498e0c98d0e51c7c74d2e1b55000 100644
(file)
--- a/
src/ostree/ostree-trivial-httpd.c
+++ b/
src/ostree/ostree-trivial-httpd.c
@@
-494,6
+494,7
@@
on_dir_changed (GFileMonitor *mon,
if (event == G_FILE_MONITOR_EVENT_DELETED)
{
+ httpd_log (self, "root directory removed, exiting\n");
self->running = FALSE;
g_main_context_wakeup (NULL);
}